package com.hbms.business.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.hbms.common.annotation.Excel;
import com.hbms.common.core.domain.BaseEntity;

/**
 * 用户学历对象 hotelbms_usereducational
 * 
 * @author zl
 * @date 2024-04-10
 */
public class HotelbmsUsereducational extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户学历id */
    private Long userEducationalId;

    /** 学历背景 */
    @Excel(name = "学历背景")
    private String educationalBackground;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creationDate;

    /** 创建者ID */
    @Excel(name = "创建者ID")
    private Long createdBy;

    public void setUserEducationalId(Long userEducationalId) 
    {
        this.userEducationalId = userEducationalId;
    }

    public Long getUserEducationalId() 
    {
        return userEducationalId;
    }
    public void setEducationalBackground(String educationalBackground) 
    {
        this.educationalBackground = educationalBackground;
    }

    public String getEducationalBackground() 
    {
        return educationalBackground;
    }
    public void setCreationDate(Date creationDate) 
    {
        this.creationDate = creationDate;
    }

    public Date getCreationDate() 
    {
        return creationDate;
    }
    public void setCreatedBy(Long createdBy) 
    {
        this.createdBy = createdBy;
    }

    public Long getCreatedBy() 
    {
        return createdBy;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userEducationalId", getUserEducationalId())
            .append("educationalBackground", getEducationalBackground())
            .append("creationDate", getCreationDate())
            .append("createdBy", getCreatedBy())
            .toString();
    }
}
